package org.microser.gataway.zuul.system.service;

import org.microser.gataway.zuul.system.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liujiamiao
 * @since 2020-11-26
 */
public interface UserRoleService extends IService<UserRole> {

    /**
     * 根据用户id得到角色id
     * @param id
     * @return
     */
    List<String> queryRoleIdsByUserId(String id);

}
